package br.com.news.utils.database.beans.keys;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import br.com.news.utils.beans.BaseBean;

@XmlRootElement
public class AlternativaEnqueteKeyBean extends BaseBean{

	private static final long serialVersionUID = 3245235122486657019L;

	private short alternativa;
	private Long idEnquete;
	
	public AlternativaEnqueteKeyBean() {
		super();
	}

	public AlternativaEnqueteKeyBean(short alternativa, Long idEnquete) {
		super();
		this.alternativa = alternativa;
		this.idEnquete = idEnquete;
	}

	@XmlElement
	public Long getIdEnquete() {
		return this.idEnquete;
	}

	public void setIdEnquete(Long idEnquete) {
		this.idEnquete = idEnquete;
	}

	@XmlAttribute
	public short getAlternativa() {
		return this.alternativa;
	}

	public void setAlternativa(short alternativa) {
		this.alternativa = alternativa;
	}
}
